home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 009 / ppatch.arc / PPATCH.LRH
Encoding:
Text File  |  1986-09-06  |  1.6 KB  |  48 lines

  1. Patching PRINT.COM                LRH 09/06/86
  2.  
  3. This shows how to patch the MSDOS program PRINT.COM to not send
  4. a FORMFEED to the printer at the end of every file.
  5.  
  6. You will need: PRINT.COM
  7.                DEBUG.COM
  8.                A Few BRAINS. 
  9.  
  10. Make sure you only use a COPY of PRINT.COM. Do not make this
  11. patch directly to the MSDOS master disk!!
  12.  
  13. The following sequence assumes PRINT.COM and DEBUG.COM are
  14. available on the default drive. (I used C: below)
  15.  
  16. You type the characters in the []
  17. Characters inside of the {} are special keys, like RETURN.
  18. My notes are inside of ().
  19.  
  20. C>[DEBUG PRINT.COM {return}]
  21. -[S 100 2000 B0 0C {return}]
  22. ssss:xxxx  (A number will print here, the xxxx is used again)
  23. -[U xxxx {return}]
  24. ssss:yyyy zzzz    MOV AL,0C
  25. ssss:yyyy zzzz    CALL wwww
  26. ssss:yyyy zzzz    CALL wwww
  27. ssss:yyyy zzzz    JMP wwww
  28.                             (you should get a display similar
  29.                              to the one just shown. The numbers
  30.                              in place of the small letter are
  31.                              unimportant, the CAPITAL letters
  32.                              should be the same. If not, DO NOT
  33.                              continue, this patch will not work.)
  34. -[E xxxx B0 00 {return}]
  35. -[W {return}]
  36. -[Q {return}]
  37. C>
  38.  
  39. That does it! This patch was derived from the 11-28-83 PRINT.COM.
  40. I expect it will work with most versions. Please be sure to let me
  41. know of any problems or questions or comments you have...
  42.  
  43. Larry Houbre
  44. LRH Enterprises BBS (Collie Net/Node 850/1)
  45. Data:  617-998-2405 (8pm-8am weekdays, 24hrs weekends)
  46. Voice: 617-998-2405 (all other times)
  47.  
  48.